home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / TriGrids / Headers / TriGridShell.h < prev   
Encoding:
Text File  |  1996-05-21  |  1.1 KB  |  84 lines  |  [TEXT/MPS ]

  1. // smallshell.h - public interface for the shell
  2. //
  3. // Modification History:
  4. //
  5. //    01/01/95    nick    created this file from other stuff
  6. //    04/14/95    rdd     added menu support
  7.  
  8. #ifndef _SMALLSHELL_H_
  9. #define _SMALLSHELL_H_
  10.     
  11. //-------------------------------------------------------------------------------------------
  12. //
  13. enum {
  14.     kMenuBarRsrc = 128
  15. } ;
  16.  
  17. enum {
  18.     mApple = 128,
  19.     mFile,
  20.     mEdit,
  21.     mGeometry,
  22.     mTexture
  23. } ;
  24.  
  25. enum {    // mApple
  26.     iAbout = 1
  27. } ;
  28.  
  29. enum {    // mFile
  30.     iNew = 1,
  31.     iOpen,
  32.     iClose,
  33.     iFileSeparator,
  34.     iQuit
  35. } ;
  36.  
  37. enum {    // mEdit
  38.     iUndo = 1,
  39.     iEditSeparator,
  40.     iCut,
  41.     iCopy,
  42.     iPaste,
  43.     iClear
  44. } ;
  45.  
  46. enum {    // mGeometry
  47.     iFlat = 1,
  48.     iTorus,
  49.     iWaveyTorus,
  50.     iSplash,
  51.     iSphere,
  52.     iCone,
  53.     iPipe,
  54.     iSteps,
  55.     iSpring
  56. } ;
  57.  
  58. enum {    // mTexture
  59.     iNoTexture = 1,
  60.     iGeometryTexture,
  61.     iFaceTexture,
  62.     iTextureSeparator,
  63.     iPictureFirst
  64. } ;
  65.  
  66.  
  67. enum {
  68.     kWindowRsrcID = 128,
  69.     kDialogRsrcID = 128,
  70.     kFirstPICTRsrcID = 256
  71. } ;
  72.  
  73. //-------------------------------------------------------------------------------------------
  74. // globals
  75. extern Boolean gQuitFlag ;
  76.  
  77.  
  78. // function prototypes
  79.  
  80. short         HiWrd(long aLong) ;
  81. short         LoWrd(long aLong) ;
  82.  
  83.  
  84. #endif